﻿

using IotContract.Dtos.Servers.Pushs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Dtos.Servers.Process;
/// <summary>
/// 中鼎堆垛机单元
/// </summary>
public class ZdScUnitDto
{
    public int EquipNum { get; set; }
    public long EquipId { get; set; }
    public bool Connection { get; set; }
    public List<PushEquipTag> Tags { get; set; }
    public int Error { get; set; }
    /// <summary>
    /// 0-维修；1-手动；2-单机自动；3-联机自动；4-不明。
    /// </summary>
    public int Mode { get; set; }
    /// <summary>
    /// 前叉任务号
    /// </summary>
    public int FrontTask { get; set; }
    /// <summary>
    /// 任务状态 0-待机；1-取货中；2-取货完成；3-放货中；4-请求卸货（申请卸货）；5-放货完成；6-取货准备（回库台位）；7-召回；8-急停；9-不明；10-盘库中；11-盘库完成。
    /// </summary>
    public int FrontCommand { get; set; }
    /// <summary>
    /// 前叉探货原位有货
    /// </summary>
    public int FrontCargo { get; set; }
    /// <summary>
    /// 前叉载货台报警
    /// </summary>
    public int FrontYError { get; set; }
    /// <summary>
    /// 前叉排
    /// </summary>
    public int FrontZ { get; set; }
    /// <summary>
    /// 前叉列
    /// </summary>
    public int FrontX { get; set; }
    /// <summary>
    /// 前叉层
    /// </summary>
    public int FrontY { get; set; }
    /// <summary>
    /// 前叉货叉报警
    /// </summary>
    public int FrontZError { get; set; }
    /// <summary>
    /// 调度号
    /// </summary>
    public int DeviceCode { get; set; }
    /// <summary>
    /// 后叉任务号
    /// </summary>
    public int BackTask { get; set; }
    /// <summary>
    /// 后叉任务状态
    /// </summary>
    public int BackCommand { get; set; }
    /// <summary>
    /// 后叉探货原位有货
    /// </summary>
    public int BackCargo { get; set; }
    /// <summary>
    /// 前叉载货台报警
    /// </summary>
    public int BackYError { get; set; }
    /// <summary>
    /// 后叉排
    /// </summary>
    public int BackZ { get; set; }
    /// <summary>
    /// 后叉列
    /// </summary>
    public int BackX { get; set; }
    /// <summary>
    /// 后叉层
    /// </summary>
    public int BackY { get; set; }
    /// <summary>
    /// 后叉货叉报警
    /// </summary>
    public int BackZError { get; set; }
}
